module.exports = {
  // apiUrl: 'http://testcheerjoy.sanguosha.com/api',
   apiUrl: 'http://test.zhiduoduo.com.cn',
 
   // 获取牌阵列表
   getHomeParkStatistic(){
     return {
       api: '/api/park/group/homeParkStatistic',
       method: 'GET'
     }
   },
  
   getHomeYearOnYearAndCompletionRate() {
     return {
       api: '/api/park/group/homeYearOnYearAndCompletionRate',
       method: 'GET'
     }
   },
   getProductDetail(){
     return{
       api:'/wx/product/detail',
       method: 'GET'
     }
   },
   getBannerList() {
     return {
       api: '/wx/banner',
       method: 'GET'
     }
   },
   getLogin(){
     return {
       api: '/auth/token/issue',
       method: 'POST'
     }
   },
   getUserWantGet(){
     return {
       api: '/user/want/get',
       method: 'GET'
     } 
   },
   getUserWantAdd(id){
     return {
       api: `/user/want/add/${id}`,
       method: 'GET'
     } 
   },
   getUserWantDel(id) {
     return {
       api: `/user/want/del/${id}`,
       method: 'GET'
     }
   },
   getUserHadGet() {
     return {
       api: '/user/had/get',
       method: 'GET'
     }
   },
   getUserHadAdd(id) {
     return {
       api: `/user/had/add/${id}`,
       method: 'GET'
     }
   },
   getUserHadDel(id) {
     return {
       api: `/user/had/del/${id}`,
       method: 'GET'
     }
   },
   postUserUpdate(){
     return {
       api: '/user/info/update',
       method: 'POST'
     }
   },
   getUserInfor() {
     return {
       api: '/user/info',
       method: 'GET'
     }
   }
 
 }